package org.lwxyz.entity;

import java.math.BigDecimal;

/**
 * @author yuwei
 * @version 1.0-SNAPSHOT
 * @description
 * @date
 */
public class Coin {
    /**
     * 币种
     */
    private String name;
    /**
     * 日涨幅
     */
    private Integer wave;
    /**
     * 触底\登顶
     */
    private Integer waveFlag;
    /**
     * 涨跌幅度
     */
    private Double rate;
    /**
     * 开盘价
     */
    private BigDecimal open;
    /**
     * 当前价
     */
    private BigDecimal current;
    /**
     * 最低价
     */
    private BigDecimal low;
    /**
     * 最高价
     */
    private BigDecimal high;

    public Coin() {
    }

    public Coin(Integer wave, Integer waveFlag, Double rate, BigDecimal open, BigDecimal current, BigDecimal low, BigDecimal high) {
        this.wave = wave;
        this.waveFlag = waveFlag;
        this.rate = rate;
        this.open = open;
        this.current = current;
        this.low = low;
        this.high = high;
    }

    public Coin(String name, Integer wave, Integer waveFlag, Double rate, BigDecimal open, BigDecimal current, BigDecimal low, BigDecimal high) {
        this.name = name;
        this.wave = wave;
        this.waveFlag = waveFlag;
        this.rate = rate;
        this.open = open;
        this.current = current;
        this.low = low;
        this.high = high;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getWave() {
        return wave;
    }

    public void setWave(Integer wave) {
        this.wave = wave;
    }

    public Integer getWaveFlag() {
        return waveFlag;
    }

    public void setWaveFlag(Integer waveFlag) {
        this.waveFlag = waveFlag;
    }

    public Double getRate() {
        return rate;
    }

    public void setRate(Double rate) {
        this.rate = rate;
    }

    public BigDecimal getOpen() {
        return open;
    }

    public void setOpen(BigDecimal open) {
        this.open = open;
    }

    public BigDecimal getCurrent() {
        return current;
    }

    public void setCurrent(BigDecimal current) {
        this.current = current;
    }

    public BigDecimal getLow() {
        return low;
    }

    public void setLow(BigDecimal low) {
        this.low = low;
    }

    public BigDecimal getHigh() {
        return high;
    }

    public void setHigh(BigDecimal high) {
        this.high = high;
    }
}
